*{
    padding: 0;
    margin: 0;
    list-style: none;
}
/* 头部开始 */
.header{
    width: 100%;
    height: 320px;
    /* background-color: aqua; */
    
}
.htop{
    padding: 12px;
    background-color: #f4f4f4;
    height: 43px;
}
.htop-main{
    margin: 0 auto;
    width: 1200px;
}
.htop-left{
   display: flex;
   float: left;
}
.htop-left a:nth-child(1){
    margin-left: 20px;
}
.htop-left a{
    text-decoration: none;
    color: black;
}
.htop-right{
    float: right;
    height: 20px;
}
.htop-right a{
    text-decoration: none;
    color: black;
    padding: 0 10px;
}
.hmiddle{
    padding: 24px 0;
    height: 148px;
    
}
.hmiddle-main{
    display: flex;
    margin: 30px auto;

    width: 1200px;
}
.hmiddle-left{
    height: 84px;
    width: 445px;

}
.hmiddle-middle{
    height: 84px;
    width: 570px;
    margin-left: 36px;
}
.hmiddle-middle-top{
   width: 460px;
   height: 44px;
   border: solid 2px rgb(46, 143, 255);
   border-radius: 3px;
   background-color: rgb(46, 143, 255);
}
.search{
    position: relative;
    top: -18px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 410px;
    height: 44px;
    box-sizing: border-box;
    border: 0;

}
.searchbtn{
    width: 45px;
    height: 44px;
    border: 0;
    background-image: url(./img/search.png);
}
.hmiddle-middle-bottom{
    margin-top: 10px;
    display: flex;
}
.hmiddle-middle-bottom span{
    /* font-style: 15px; */
    font-weight: bold;
    margin-right: 5px;
}
.hmiddle-middle-bottom a{
    margin: 0 5px;
    font-size: 14px;
    color: black;
    text-decoration: none;
}
.hmiddle-right{
    border: solid 1px rgb(46, 143, 255);
    width: 148px;
    height: 48px;
    margin-left: 10px;
    background-color: white;
    text-align: center;
}
.hmr{
    margin-top: 10px;
}
.hmiddle-right  a{
    text-decoration: none;
    color: rgb(46, 143, 255);
    font-size: 18px;

}

.hbottom{
    height: 48px;
}
.hbottom-main{
    display: flex;
    margin: 0 auto;
    width: 1200px; 
    font-size: 18px;
}
.hbottom-left{
    padding: 12px;
    width: 221px;
    height: 35px;
    background-color: rgb(46, 143, 255);
    color: white;
  
}
.hbottom-right{
    padding: 12px;
    width: 944px;
    height: 47px;
   
 
}
.hbottom-right a{
    margin: 0 20px;
    text-decoration: none;
    color: black;
    font-weight: bolder;
}

/* 头部结束 */
/* 主体开始 */
.main{
    width: 100%;
    height: 4120px;
    background-color: rgb(245, 245, 245);
}
.main-main{
    margin: 0 auto;
    width: 1200px;
    display: flex;
}
.main-left{
    background-color: aqua;
    width: 240px;
    height: 588px;
}
.main-left-1{
    width: 240;
    height: 37px;
   position: relative;
   background-color: rgb(255, 255, 255);
}
.main-left-link{
    display: flex;
    padding: 2px 5px;
    width: 230px;
    height: 26px;
    color:rgb( 85, 85, 85);
    font-size: 14px;
    text-decoration: none;
}
.main-left-link-l{
    display: block;
    width: 15px;
    height: 18px;
    margin-right: 15px;
    background-image: url(./img/link1.png);
    background-repeat:no-repeat ;
    background-position: 100% 100%;
} 
.main-left-link-r{
    display: block;
    position: absolute;
    right: 10px;
    width: 30px;
    height: 25px;
    transition: all 0.5s;
    background-image: url(./img/right.png) ;
    block-size: 10% 10%;
   
} 
.left-hidden{
    position: absolute;
    left: 240px;
    top:0;
    width: 600px;
    height: 500px;
    background-color: red;
    display: none;
    z-index: 1;
}
 .main-left-link:hover{
    background-color:rgb(230, 246, 255) ;
    color: rgb(117, 153, 255);
}
.main-left-link:hover .main-left-link-r{
    right: -40px;
}
.main-left-1:hover .left-hidden{
    display: block;
}
.ling{
   padding-left: 60px;
    text-decoration: none;
    font-style: 12px;
    color: black;
}



.main-middle{
    width: 704px;
    height: 588px;
    /* background-color: rgb(245, 245, 245); */
    /* background-color: red; */
   
}
/* 轮播图 */

.runpic{
    width: 704px;
    height: 350px;
    border: solid 1px white;
    border-radius: 5px;
}
.img-container{
    position: relative;
    width: 704px;
    height: 350px;
    overflow: hidden;
  
}
.viewpage{
    position: absolute;
    left: 0;
    top: 0;
    width: 300%;
    height: 350px;
 
}
.item{
    float: left;
}
.viewpage img{
width: 704px;
height: 350px;
}
/*  左右按钮*/
.prev,
.next{
    width: 30px;
    height: 50px;
    background-color: rgba(255,255,255,0.5);
    position: absolute;
    top: 40%;
    font-size: 24px;
    columns: #fff;
    text-align: center;
    line-height: 50px;
    display: none;
    cursor: pointer;
    margin-left: 15px;
}
.next{
    right: 15px;

}
/* 小圆点 */
.circle-list{
    padding: 10px;
    margin-left: -20px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 50px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50px;
}
.circle{
    float: left;
    margin-left: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: aqua;
    cursor: pointer;
}
.active{
    background-color: orangered;
}
/* @keyframes run{
  0%{
    margin-left: 0;
  }
  20%,60%{
    margin-left: -770px;
  }
  65%,100%{
    margin-left: 0px;
  }

} */


.runpic-bottom{
    width: 704px;
    height: 195px;
    background-color: rgb(255, 255, 255);
    margin-top: 20px;
}
#runpic-b-p{
    height: 28px;
    border-left: solid 4px rgb(46, 143, 255);
    font-size: 18px;
    font-weight: bold;
}
#rbb{
    width: 672px;
    height: 134px;
    display: flex;
    margin-top: 10px;
    /* background-color: gray; */
}
.rbb-l{
    width: 170px;
    height: 134px;
    margin-top: 10px;
    /* margin-left: 25px; */
    /* background-color: pink; */
} 
.rbb-1-1{
    display: flex;
    margin-top: 10px;
}
.rbb-1-text{
    font-size: 12px;
}
.rbb-r{
    width: 460px;
    height: 120px;
    margin-left: 20px;
    /* background-color: salmon; */
}
.rbb-r-box{
    width: 460px;
    height: 82px;
    border:dashed 1px gray;
    display: flex;
    text-align: center;
    padding-top: 30px;
}
#sub {
    width: 96px;
    height: 36px;
    background-color: rgb(46, 143, 255);
    border: 0;
    border-radius: 5px;
    color: white;
}
.rbb-r-btn-btm{
    font-size: 12px;
    /* background-color: rebeccapurple; */
    margin-top: 10px;
    margin-left: 35px;
}
.rbb-r-btn-btm span{
    color: orange;
}
.main-right{
    width: 240px;
    height: 588px;
    background-color: white;
}


.head-pic{
    display: flex;
    font-size: 14px;
}
.head-pic p{
   margin: 20px 5px;
}
.pic{
    width: 4rem;
    height: 4rem;
    border: solid 1px rgb(238, 238, 238);
    border-radius: 50%;
    background-size: 65px;
    background-image: url(./img/head_pic.jpg);
}
.info{
 margin-top: 20px;
 width: 230px;
 height: 29px;
}
.info a{
    margin: 10px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
}
#regist{
    padding: 4px 28px;
    width: 86px;
    height: 29px;
    border: solid 1px rgb(46, 143, 255);
    color: rgb(46, 143, 255);
    background-color: white;
}
#login{
    padding: 4px 28px;
    width: 86px;
    height: 29px;
    border: solid 1px rgb(46, 143, 255);
    color: white;
    background-color: rgb(46, 143, 255);
}
.mrm-index{
    display: flex;
    padding: 10px;
    /* padding-left: 10px; */

}

.mrm-index2{
   width: 200px;
    /* padding: 5px; */
    text-align: center;
    /* border: solid 1px black; */
    
}

.mrmi-info-1{
    margin-left: 8px;
    width: 220px;

}

.mrm-index2:active{
    border-bottom: solid 2px rgb(46, 143, 255);
    color: rgb(46, 143, 255);
}
.i2{
    margin-left: 10px;
}
.mari-info-index{
    width: 220px;
    height: 200px;
    background-color: green;
    display: flex;

}

.mari-info-index a{
    text-decoration: none;
    color: black;
    font-size: 12px;
}
.mari-info-index span{
    font-size: 20px;
}
.mrmi-con-1{
    width: 220px;
    height: 200px;
    display: none;
}

.main-right-bottom{
    width: 224px;
    height: 152px;
    margin-top: 30px;
    /* background-color: yellow; */
}
.box{
    width: 224px;
    height: 68px;
    /* background-color: red; */
    border-radius: 5px;
    margin-top: 8px;
    padding-top: 5px;

    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% auto;
    width: 100%;
    font-size: 14px;
    padding-left: 10px;
}
.mrb-btn{
    margin-top: 15px;
}
.gongying{
    background-image: url(./img/consign_bg.png);
}       
.free{
    background-image: url(./img/sample_bg.png);
}
.box a{
    text-decoration: none;
    color: white;
    border: solid 1px #FFA500;
    border-radius: 0.75rem;
    padding: 0 10px;
    font-size: 12px;
    background-color: #FFA500;

}



/* 悬浮框 */
/* 主体产品 */

.carousel-main{
    margin: 0 auto;
    width: 1225px;
}
.carousel-index-1{
    height: 400px;
    background-color: rgb(255, 255, 255);
    margin: 20px ;
    padding: 14px 14px 16px;
}
.carousel-body{
    display: flex;
}
/* 热门产品 */
.carousel-head{
    border-bottom: solid 1px rgb(238, 238, 238);
    margin-bottom: 10px;
    display: flex;
}
.hotcontrol span{
   padding: 5px 8px;
    border: solid 1px black;
    border-radius: 50%;

}

.carousel-body-left{
    width: 225px;
    height: 368px;
}
.carousel-body-right{
    margin-left: 15px;
    width: 910px;
    height: 368px;
    /* background-color: red; */
    display: flex;
    /* flex-wrap: wrap; */
}
.cbr-container{
    position: relative;
    width: 910px;
    height: 368px;
    border: solid 10px orange;
    /* overflow: hidden; */
}
.cbr-view{
    position: absolute;
    left: 0;
    height: 0;
    width: 300%;
    height: 368px;
    display: flex;
}
.cbr-item{
    display: flex;
    width: 910px;
}

.carousel-body-right-img-1{
    width: 160px;
    height: 290px;
    padding: 20px 9px;
    font-size: 12px;
    text-align: center;
}
.carousel-body-right-img-1 p{
    color: #474746;
    margin-top: 40px;
}
.span1{
    color:#999999;
}
.span2{
    font-size: 16px;
    color: orange;
}
/* .carousel-body-right-img{
     width: 100px;
    height: 100x; 
    background-image: url(./img/3d3845d22b6aa6ef.jpg);
    background-size: 100%;
} */
.normal-pic{
    width: 156px;
    height: 156px;
    
}
.normal-pic:hover{
    transform: scale(1.05);
}
.carousel-body-right-img-1:hover{
    border: solid 1px rgba(238, 238, 238,1);
}
.index-11{
    display: flex;
    height: 300px;
}
/* 电容电阻电感 */
/* .cbl-4{
    width: 225px;
    height: 360px;
    background-image: url(./img/index_left_01.png);
} */

.ali{
    position: relative;
    width: 270px;
    height: 160px;
    border: solid 1px black;
    margin: 8px;
    margin-left: 15px;
    /* margin-left: 20px; */
}
.ali img{
    width: 270px;
    height: 160px;
}
.ali :hover{
    transform: scale(1.05);
    /* overflow-clip-margin: content-box;
    overflow: clip; */
}
.cbl-4-1{
    margin-top: 30px;
    margin-left: 10px;
    position: absolute;
    /* algin-top:top; */
}
.cbl-4-1 p{
    font-size: 16px;
    color: #575656;
}
.cbl-4-1 span{
    font-size: 14px;
    color: #B4B4B4;
}
/* 二极管/三极管/集体管  */
/* LED发光管/IC芯片 */
/* 热门品牌 */
.hotblock{
    width: 550px;
    height: 256px;
    margin-left: 10px;
}
.hotblock-head{
    height: 56px;
    background-color: rgb(255, 242, 242);
}
.hotblock-head a{
    text-decoration: none;
    font-weight: bold;
    color: black;

}
.hotblock-body{
    height: 230px;
    /* background-color: salmon; */
    display: flex;
    flex-wrap: wrap;
}
.hotblock-body-img{
    margin-top: 10px;
    margin-left: 12px;
    width: 96px;
    height: 80px;
    /* background-color: red; */
    /* background-size: 98px; */
    background-repeat: no-repeat;
    background-position: 25%;
    
}
.hbi-2{
    background-image: url(./img/index-brand-15.jpg);
    background-size: 110px;
    background-position: 40%;
}
.hbi-1{
    background-image: url(./img/index-brand-04.png);
    /* background-size: 60px; */
    /* background-position: 25%; */
}
.hbi-3{
    background-image: url(./img/index-brand-01.png);
    /* background-position: 25%; */
}
.hbi-4{
    background-image: url(./img/index-brand-08.png);
    /* background-position: 25%; */
}
.hbi-5{
    background-image: url(./img/index-brand-02.png);
    /* background-position: 25%; */
}
.hbi-6{
    background-image: url(./img/index-brand-09.png);
}
.hbi-7{
    background-image: url(./img/index-brand-03.png);
}
.hbi-8{
    background-image: url(./img/index-brand-10.png);
}
.hbi-9{
    background-image: url(./img/index-brand-04.png);
}
.hbi-10{
    background-image: url(./img/index-brand-11.png);
}
/* 最新交易 */
.trans-head{
    height: 56px;
    background-color: #EBF5FF;
}
.trans-body{
    height: 200px;
    /* background-color: rgb(235, 245, 255); */
    background-color: red;
}
.trans-container{
    width: 256px;
    height: 56px;
    position: relative;
}
.tc-view{
    position: absolute;
    left: 0;
    top: 0;
    height: 1000%;
    width: 256px;
}
.tc-view li{
    height: 20px;
}
/* 新闻资讯 */
.news-img{
    width: 516px;
    height: 280px;
    background-image: url(./img/news1.jpg);
    background-size: 516px;
}
.news-img-bottom{
    margin-top: 10px;
    font-size: 14px;
}
.news-img-bottom a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin-right: 230px;
}
.news-img-bottom span{
    font-weight: bold;
    color: rgb(153, 153, 153);
}
.news-right{
    margin-left: 50px;
    margin-right: 6px;
    width: 606px;
    height: 380px;
    color: rgb(91, 91, 128);
}
.news-right li{
    padding: 8px 0;
}
.news-info a{
     text-decoration: none;
     border-bottom: solid 1px rgb(238, 238, 238);
     color: rgb(91, 91, 128);
}
.news-info span{
    margin-right: 0px;
    float: right;
}
/* 主体结束 */
/* 尾部开始 */
.footer{
    width: 100%;
    height: 600px;
    background-color: rgb(45, 45, 45);
}
.footermain{
    margin: 0 auto;
    width: 1200px;
}
.footer-1{
    height: 120px;
}
.footer-head{
    height: 132px;
    background-color: rgb(255, 255, 255);
    /* display: flex; */
    /* justify-content:space-around; */
}
.footer-head ul{
    float: left;
    margin: 35px 50px;
    
    /* display: flex; */
}

.footer-head li{
    float: right;
    padding: 0 0 0 16px;
}
.footer-head ul p{
font-size: 20px;
}
.footer-head ul span{
    font-size: 14px;
}
.footer-body{
    height: 600px;
    background-color: rgb(45, 45, 45);
}
.footer-body-head{
    height: 196px;


}
.fbh-1{
    width: 96px;
    height: 196px;

    float: left;
    margin-right: 90px;
}
.fbh-1 p{
    font-size: 16px;
    margin-bottom: 28px;
    color: white;
}
.fbh-1 ul a{
    margin-bottom: 20px;
    margin-right: 20px;
    float: left;
    text-decoration: none;
    color: white;
    font-size: 12px;
}
.fbh-5{
    width: 170px;
}
.fbh-6{
    width: 120px;
    margin-right: 0px;
}
.wechart{
    width: 120px;
    height: 120px;
    background-image: url(./img/wechart.png);
}
/*  */
.footer-body-middle{
    margin: 20px 0;
    padding: 20px 0;
    border-top: solid 1px white;
    border-bottom: solid 1px white;
}
.footer-body-middle a{
    margin-left: 15px;
    text-decoration: none;
    font-size: 14px;
    color: white;
}
.footer-body-3{
    font-size: 12px;
    color: white;
    padding: 32px 90px 16px;
    display: flex;
}

.footer-body-link a{
    padding: 4px 8px;
   text-decoration: none;
   color: white;
}
.footer-bottom-img{
    margin: 0 14%;
    margin-bottom: 20px;
}
.footer-bottom-text{
    text-align: center;
    font-size: 12px;
    color: white;
}
.footer-bottom-text a{
    text-decoration: none;
    color: white;
    margin:0 8px;
}
.polic{
    height: 40px;
    margin: 20px 5px;
}
/* 尾部结束 */